package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.ZhuanjiabiandongshenbaoHuifuMapper;
import com.ruoyi.system.domain.ZhuanjiabiandongshenbaoHuifu;
import com.ruoyi.system.service.IZhuanjiabiandongshenbaoHuifuService;
import com.ruoyi.common.core.text.Convert;

/**
 * 专家变动申报_恢复Service业务层处理
 * 
 * @author dy
 * @date 2024-05-27
 */
@Service
public class ZhuanjiabiandongshenbaoHuifuServiceImpl implements IZhuanjiabiandongshenbaoHuifuService 
{
    @Autowired
    private ZhuanjiabiandongshenbaoHuifuMapper zhuanjiabiandongshenbaoHuifuMapper;

    /**
     * 查询专家变动申报_恢复
     * 
     * @param shenbaoid 专家变动申报_恢复主键
     * @return 专家变动申报_恢复
     */
    @Override
    public ZhuanjiabiandongshenbaoHuifu selectZhuanjiabiandongshenbaoHuifuByShenbaoid(String shenbaoid)
    {
        return zhuanjiabiandongshenbaoHuifuMapper.selectZhuanjiabiandongshenbaoHuifuByShenbaoid(shenbaoid);
    }

    /**
     * 查询专家变动申报_恢复列表
     * 
     * @param zhuanjiabiandongshenbaoHuifu 专家变动申报_恢复
     * @return 专家变动申报_恢复
     */
    @Override
    public List<ZhuanjiabiandongshenbaoHuifu> selectZhuanjiabiandongshenbaoHuifuList(ZhuanjiabiandongshenbaoHuifu zhuanjiabiandongshenbaoHuifu)
    {
        return zhuanjiabiandongshenbaoHuifuMapper.selectZhuanjiabiandongshenbaoHuifuList(zhuanjiabiandongshenbaoHuifu);
    }

    /**
     * 新增专家变动申报_恢复
     * 
     * @param zhuanjiabiandongshenbaoHuifu 专家变动申报_恢复
     * @return 结果
     */
    @Override
    public int insertZhuanjiabiandongshenbaoHuifu(ZhuanjiabiandongshenbaoHuifu zhuanjiabiandongshenbaoHuifu)
    {
        return zhuanjiabiandongshenbaoHuifuMapper.insertZhuanjiabiandongshenbaoHuifu(zhuanjiabiandongshenbaoHuifu);
    }

    /**
     * 修改专家变动申报_恢复
     * 
     * @param zhuanjiabiandongshenbaoHuifu 专家变动申报_恢复
     * @return 结果
     */
    @Override
    public int updateZhuanjiabiandongshenbaoHuifu(ZhuanjiabiandongshenbaoHuifu zhuanjiabiandongshenbaoHuifu)
    {
        return zhuanjiabiandongshenbaoHuifuMapper.updateZhuanjiabiandongshenbaoHuifu(zhuanjiabiandongshenbaoHuifu);
    }

    /**
     * 批量删除专家变动申报_恢复
     * 
     * @param shenbaoids 需要删除的专家变动申报_恢复主键
     * @return 结果
     */
    @Override
    public int deleteZhuanjiabiandongshenbaoHuifuByShenbaoids(String shenbaoids)
    {
        return zhuanjiabiandongshenbaoHuifuMapper.deleteZhuanjiabiandongshenbaoHuifuByShenbaoids(Convert.toStrArray(shenbaoids));
    }

    /**
     * 删除专家变动申报_恢复信息
     * 
     * @param shenbaoid 专家变动申报_恢复主键
     * @return 结果
     */
    @Override
    public int deleteZhuanjiabiandongshenbaoHuifuByShenbaoid(String shenbaoid)
    {
        return zhuanjiabiandongshenbaoHuifuMapper.deleteZhuanjiabiandongshenbaoHuifuByShenbaoid(shenbaoid);
    }
}
